package com.tupu.service.admin;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tupu.entity.admin.LogInfo;

import java.util.List;

public interface LogService extends IService<LogInfo> {

    //新增日志
    void addLog(LogInfo logInfo);

    //删除日志
    void deleteById(Integer logId);

    //日志首页、分页、模糊查询
    Page<LogInfo> pageInfo(String name, Long page, Long size);

    Page<LogInfo> pageResult(Integer page, Integer size, String user_name);

    List<LogInfo> findAll(String user_name);
}
